<template>

    <div class="page-tools">
      <!-- 左侧 -->
      <div class="left">
        <div class="tips">
          <slot name="left">
            <span>说明：目前支持学科和关键字条件筛选</span>
          </slot>

        </div>
      </div>
      <div class="right">
        <!-- 右侧 -->
        <slot name="right">
          <el-button type="success" size="small" @click="$router.push('/questions/new')"><i class="el-icon-edit" /> 新增试题</el-button>
        </slot>
      </div>
    </div>

</template>

<script>
export default {

}
</script>

<style lang="less" scoped>
.page-tools {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  .tips {
    line-height: 12px;
    font-size: 12px;
    color: pink;
  }
}
</style>
